-- background: 10975 from stack: in -- bmap block id: 11140 -- flags: 4000 -- background id: 0 -- name: 1.1.1 Practice3 ----- HyperTalk script ----- on openCard global answerTracker beenHereFlag 2,3 -- first param is item #, second is line # (of global) send mouseUp to bg btn "done" repeat with i = 1 to 4 get line (line 2 of fld "key") of answerTracker if it = "y" and i = line 1 of fld "key" then set the hilite of bg btn ("graphic" & i) to true else set the hilite of bg btn ("graphic" & i) to false end repeat pass openCard end openCard on showfeedback lock screen show fld "feedback1" show fld "feedback2" show fld "feedback3" show fld "feedback4" show fld "masterFeedback" show fld "correctAnswer" show bg btn "Done" unlock screen end showfeedback on hidefeedback lock screen hide fld "feedback1" hide fld "feedback2" hide fld "feedback3" hide fld "feedback4" hide fld "masterFeedback" hide fld "correctAnswer" hide bg btn "Done" unlock screen end hidefeedback on feedback global answerTracker lock screen get last char of the short name of the target if line (line 2 of fld "key") of answerTracker ≠ "y" then -- don't overwrite if Q has been answered if it = line 1 of fld "key" then -- this is the correct answer put "y" into line (line 2 of fld "key") of answerTracker else put "n" into line (line 2 of fld "key") of answerTracker end if put fld ("feedback" & it) into fld "masterFeedback" show fld "masterFeedback" show bg btn "Done" unlock screen end feedback -- part 3 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=18 top=1 right=38 bottom=442 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 24 -- style flags: 10240 -- line height: 32 -- part name: Title -- part 14 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=443 top=5 right=72 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Instant Reference ----- HyperTalk script ----- on mouseUp instantReference "1.1.1" end mouseUp -- part 15 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=480 top=143 right=172 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 1310 / 1310 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Student Services ----- HyperTalk script ----- on mousedown SSpopUp end mousedown on mouseup if the mouseloc is not within the rect of me then exit to hyperCard doSS end mouseup -- part 16 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=482 top=176 right=205 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 162 / 162 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Help ----- HyperTalk script ----- on mouseUp Help end mouseUp -- part 17 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=482 top=294 right=320 bottom=509 -- title width / last selected line: 0 -- icon id / first selected line: 1236 / 1236 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Last Menu ----- HyperTalk script ----- on mouseUp go to card "Individual and Work P/1" end mouseUp -- part 18 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=478 top=319 right=341 bottom=498 -- title width / last selected line: 0 -- icon id / first selected line: 1238 / 1238 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Prev ----- HyperTalk script ----- on mouseUp lock screen go prev unlock screen with scroll right end mouseUp -- part 19 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=493 top=319 right=341 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 1237 / 1237 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Next ----- HyperTalk script ----- on mouseUp lock screen go next unlock screen with scroll left end mouseUp -- part 21 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=16 top=38 right=67 bottom=438 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 20 -- style flags: 0 -- line height: 26 -- part name: Subtitle -- part 22 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=16 top=75 right=130 bottom=457 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Question -- part 33 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=8 top=36 right=94 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Feedback1 -- part 52 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=16 top=136 right=156 bottom=445 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 256 -- line height: 15 -- part name: Instruction -- part 34 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=8 top=97 right=155 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Feedback2 -- part 41 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=17 top=281 right=316 bottom=93 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Label1 -- part 35 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=8 top=159 right=216 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Feedback3 -- part 36 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=8 top=219 right=277 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Feedback4 -- part 42 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=140 top=281 right=315 bottom=247 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Label2 -- part 43 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=263 top=281 right=317 bottom=347 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Label3 -- part 38 (field) -- low flags: 81 -- high flags: 2007 -- rect: left=8 top=280 right=338 bottom=231 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: CorrectAnswer -- part 44 (field) -- low flags: 01 -- high flags: 0000 -- rect: left=387 top=281 right=317 bottom=474 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: Label4 -- part 64 (button) -- low flags: 00 -- high flags: A004 -- rect: left=179 top=321 right=340 bottom=324 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Answer ----- HyperTalk script ----- on mouseUp global answerTracker lock screen put "y" into line (line 2 of fld "key") of answerTracker put fld "CorrectAnswer" into fld "MasterFeedback" show fld "MasterFeedback" show bg btn "Done" unlock screen end mouseUp -- part 65 (field) -- low flags: 81 -- high flags: 0001 -- rect: left=423 top=0 right=13 bottom=466 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 65535 -- font id: 4 -- text size: 9 -- style flags: 0 -- line height: 12 -- part name: CardTitle -- part 67 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=482 top=208 right=234 bottom=509 -- title width / last selected line: 0 -- icon id / first selected line: 1234 / 1234 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Lesson ----- HyperTalk script ----- on mouseUp lesson "1.1.1" end mouseUp -- part 68 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=21 top=155 right=279 bottom=88 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Graphic1 ----- HyperTalk script ----- on mouseUp feedback end mouseUp -- part 69 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=145 top=155 right=279 bottom=212 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Graphic2 ----- HyperTalk script ----- on mouseUp feedback end mouseUp -- part 70 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=268 top=155 right=279 bottom=335 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Graphic3 ----- HyperTalk script ----- on mouseUp feedback end mouseUp -- part 71 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=391 top=155 right=279 bottom=458 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Graphic4 ----- HyperTalk script ----- on mouseUp feedback end mouseUp -- part 39 (field) -- low flags: 81 -- high flags: 2004 -- rect: left=147 top=132 right=304 bottom=356 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 156 -- text size: 16 -- style flags: 0 -- line height: 17 -- part name: MasterFeedback -- part 40 (button) -- low flags: 80 -- high flags: A002 -- rect: left=215 top=279 right=296 bottom=284 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Done ----- HyperTalk script ----- on mouseUp global answerTracker lock screen if line (line 2 of fld "key") of answerTracker = "y" then -- question correctly answered set the hilite of bg btn ("graphic" & line 1 of fld "key") to true end if hide fld "MasterFeedback" hide bg btn "Done" unlock screen end mouseUp -- part 72 (field) -- low flags: 81 -- high flags: 0002 -- rect: left=1 top=308 right=341 bottom=59 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Key ----- HyperTalk script ----- on mouseUp hide me end mouseUp